package org.misty.seckill.redis;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties("redis")
@Getter
@Setter
public class RedisConfig {
  private String host;
  private int port;
  private String password;
  private int timeout;
  private int poolMaxTotal;
  private int poolMaxIdle;
  private int poolMaxWait;
}
